local avatar_id = 'yuemiheng'

AddPrefabPostInit(avatar_id, function(inst)
    if not TheWorld.ismastersim then return end
    inst.components.cursable.IsCursable = function() return false end
end)

AddComponentPostInit("curseditem", function(self)
    local OldGiven = self.Given
    self.Given = function(self, item, data, ...)
        if not data.owner or data.owner.prefab ~= avatar_id then
            return OldGiven(self, item, data, ...)
        end
    end
end)